Release 10.1A: OpenEdge Getting Started:
Core Business Services
Authenticating and authorizing a user ID to the OpenEdge RDBMS _User table
In the Progress 4GL, can authenticate a user ID found in the OpenEdge RDBMS
_Usertable using the following features:
User ID (-U) and Password (-P) startup parameters— Authenticates the user ID specified on the command line or in theCONNECTstatement to the user IDs and passwords stored in the OpenEdge RDBMS.SETUSERIDfunction — Authenticates a specified user ID and password to the user IDs and passwords stored in the OpenEdge RDBMS. If authenticated, this function also asserts the user ID as the current user ID, as returned by theUSERIDfunction.In the Progress 4GL, you can authorize an authenticated user ID for permissions specified by application resources and OpenEdge RDBMS tables and fields using the following 4GL features:
CAN-DOfunction — Can be used to authorize one or more specified user IDs against a list of permissions that specify whether a user can access certain procedures or features.Can-*permissions — Specified through the OpenEdge Data Administration tools, can be used to authorize the connected user ID for table and field operations at 4GL compile time and (optionally) at run time.For more information on authentication and authorization in the Progress 4GL, see the sections on application security in OpenEdge Development: Programming Interfaces and OpenEdge Deployment: Managing 4GL Applications .
In OpenEdge SQL, users are automatically authenticated and authorized against user IDs and SQL privileges specified in the OpenEdge RDBMS. SQL privileges are automatically available to users once they have been granted by the SQL DBA or another SQL user who has the privilege to grant them using the SQL
GRANTstatement. Users can be blocked from privileges by another SQL user who has the privilege to revoke them using the SQLREVOKEstatement. For more information on authentication and authorization in OpenEdge SQL, see OpenEdge Data Management: SQL Development .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |